package com.ruoyi.activeinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 社区活动对象 active_info
 * 
 * @author hct
 * @date 2022-02-16
 */
public class ActiveInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 活动标题 */
    @Excel(name = "活动标题")
    private String activeTitle;

    /** 活动详情 */
    @Excel(name = "活动详情")
    private String activityContent;

    /** 地址 */
    @Excel(name = "地址")
    private String address;


    /** 结束时间 */
    @Excel(name = "结束时间")
    private String endTime;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String startTime;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;


    /** 活动图片 */
    @Excel(name = "活动图片")
    private String activeImage;

    /** 收藏数 */
    @Excel(name = "收藏数")
    private Integer collectNum;

    /** 阅读数 */
    @Excel(name = "阅读数")
    private Integer viewNum;

    /** 上下架 */
    @Excel(name = "上下架")
    private Long isMarketable;

    /** 限制人数 */
    @Excel(name = "限制人数")
    private Integer limitNum;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 活动金额 */
    @Excel(name = "活动金额")
    private String money;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActiveTitle(String activeTitle) 
    {
        this.activeTitle = activeTitle;
    }

    public String getActiveTitle() 
    {
        return activeTitle;
    }
    public void setActivityContent(String activityContent) 
    {
        this.activityContent = activityContent;
    }

    public String getActivityContent() 
    {
        return activityContent;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
      public void setActiveImage(String activeImage)
    {
        this.activeImage = activeImage;
    }

    public String getActiveImage() 
    {
        return activeImage;
    }
    public void setCollectNum(int collectNum)
    {
        this.collectNum = collectNum;
    }

    public Integer getCollectNum()
    {
        return collectNum;
    }
    public void setViewNum(int viewNum)
    {
        this.viewNum = viewNum;
    }

    public Integer getViewNum()
    {
        return viewNum;
    }
    public void setIsMarketable(Long isMarketable) 
    {
        this.isMarketable = isMarketable;
    }

    public Long getIsMarketable() 
    {
        return isMarketable;
    }
    public void setLimitNum(Integer limitNum)
    {
        this.limitNum = limitNum;
    }

    public Integer getLimitNum()
    {
        return limitNum;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setMoney(String money) 
    {
        this.money = money;
    }

    public String getMoney() 
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activeTitle", getActiveTitle())
            .append("activityContent", getActivityContent())
            .append("address", getAddress())
             .append("endTime", getEndTime())
            .append("remark", getRemark())
            .append("startTime", getStartTime())
             .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("activeImage", getActiveImage())
            .append("collectNum", getCollectNum())
            .append("viewNum", getViewNum())
            .append("isMarketable", getIsMarketable())
            .append("limitNum", getLimitNum())
            .append("phone", getPhone())
            .append("money", getMoney())
            .toString();
    }
}
